const express = require('express');
const {createLogin, refreshToken, logout, verifyToken} = require('../controllers/login');

const router = express.Router();

router.post('/login', createLogin);
router.post('/refreshToken', verifyToken, refreshToken);
router.post('/logout', verifyToken, logout);

module.exports = router;
